﻿@using Wei_Model
@model Wei_Model.Wei_UsersModel
@{
    ViewBag.Title = "注册";
}

        <div class="page-body animated slideInDown">
            <div class="logo">
                @*<img alt="logo" src="images/logo-dark.png" />*@
                <h2 style="text-align: center;">欢迎注册</h2>
            </div>
            <div class="box">
                <div class="panel mb-none">
                    <div class="panel-content bg-scale-0">
                        <form action="/Admin/Home/Register" method="post">
                            <div class="form-group mt-md">
                                <span class="input-with-icon">
                                    @Html.TextBoxFor(m => m.User_Name, new { @class = "form-control", @placeholder = "昵称"})
                                      <i class="fa fa-user"></i>
                                </span>
                               
                                @Html.ValidationMessageFor(m=>m.User_Name, "", new { @class = "color-danger" })
                            </div>
                            <div class="form-group mt-md">
                                <span class="input-with-icon">
                                    @Html.TextBoxFor(m => m.Email, new { @class = "form-control", @placeholder = "Email" })
                                     <i class="fa fa-envelope"></i>
                                </span>
                                @Html.ValidationMessageFor(m => m.Email, "", new { @class = "color-danger" })
                            </div>
                            <div class="form-group">
                                <span class="input-with-icon">
                                    @Html.PasswordFor(m => m.Password, new { @class = "form-control", @placeholder = "密码" })
                                     <i class="fa fa-key"></i>
                                </span>
                                @Html.ValidationMessageFor(m => m.Password, "", new { @class = "color-danger" })
                            </div>
                            <div class="form-group">
                                <span class="input-with-icon">
                                    @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control", @placeholder = "确认密码" })
                                     <i class="fa fa-key"></i>
                                </span>
                                @Html.ValidationMessageFor(m => m.ConfirmPassword, "", new { @class = "color-danger" })
                            </div>
                            <div class="form-group">
                                <button type="submit" class="btn btn-primary btn-block">提交</button>
                            </div>
                            <div class="form-group" style="margin-bottom:40px;">                              
                                <a style="float:right;" href="/Admin/Home/Login">已有账号？马上登陆！</a>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
@Scripts.Render("~/bundles/jquery")
